import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import {test1MiddleWares} from './middlewares/tset1'
async function bootstrap() {
  const app = await NestFactory.create(AppModule);
  app.use(test1MiddleWares())
  await app.listen(3000);
}
bootstrap();
